// samsting : this file is auto create.

#include "Ecs/2014-05-26/ResizeDiskRequest.h"

namespace aliyun { namespace Ecs {

ResizeDiskRequest::ResizeDiskRequest() : RpcAcsRequest("Ecs", "2014-05-26", "ResizeDisk") {
}

int64 ResizeDiskRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void ResizeDiskRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& ResizeDiskRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void ResizeDiskRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 ResizeDiskRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void ResizeDiskRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& ResizeDiskRequest::GetDiskId(void) const {
  return DiskId_;
}
void ResizeDiskRequest::SetDiskId(const string& DiskId) {
  DiskId_ = DiskId;
  PutQueryParameter("DiskId", DiskId_);
}

int ResizeDiskRequest::GetNewSize(void) const {
  return NewSize_;
}
bool ResizeDiskRequest::SetNewSize(int NewSize) {
  if(NewSize < 5) {
    return false;
  }
  if(NewSize > 2048) {
    return false;
  }
  NewSize_ = NewSize;
  PutQueryParameter("NewSize", string_ValueOfInt(NewSize_));
  return true;
}

const string& ResizeDiskRequest::GetClientToken(void) const {
  return ClientToken_;
}
void ResizeDiskRequest::SetClientToken(const string& ClientToken) {
  ClientToken_ = ClientToken;
  PutQueryParameter("ClientToken", ClientToken_);
}

const string& ResizeDiskRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void ResizeDiskRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Ecs {

// end of file 
